package old.coordinate;

import com.jme3.math.Vector3f;



/*
 * Creates a MCoordinate object
 * Inputs:  Location vector, (optional) Velocity vector
 * Outputs:  MCoordinate object
 */
public class CoordinateModelBuilder {
	
	
	
	public CoordinateModelBuilder() {}
	
	public CoordinateModel createCoordinate(Vector3f location, Vector3f velocity) {
		return (new CoordinateModel(location, velocity));		
	}
	
	public CoordinateModel createCoordinate(Vector3f location) {
		Vector3f velocity = new Vector3f(0.0f,0.0f,0.0f);
		return (new CoordinateModel(location, velocity));		
	}

}
